﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PublicCommon
{
    /// <summary>
    /// 审计表
    /// </summary>
    [Table("Audit")]
    public class Audit
    {
        /// <summary>
        /// 操作人Id
        /// </summary>
        public int? CreateById { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [StringLength(20)]
        public string? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改人
        /// </summary>
        [StringLength(20)]
        public string? UpdateBy { get; set; }
        /// <summary>
        /// 审计状态
        /// </summary>
        public int? AuditState { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
